[18.0][MIG] fieldservice_agreement: Migration to 18.0#1368
[18.0][MIG] fieldservice_agreement: Migration to 18.0#1368OCA-git-bot merged 44 commits intoOCA:18.0from
Conversation
ivantodorovich
left a comment
There was a problem hiding this comment.
LG, thanks a lot for the work done!
Here are a few suggested changes to improve the UX and modernize the code. Would be great if you can check them out
| name="action_view_service_order" | ||
| type="object" | ||
| class="oe_stat_button" | ||
| icon="fa-map" |
There was a problem hiding this comment.
| icon="fa-map" | |
| icon="fa-map" | |
| invisible="service_order_count == 0" |
UX: to be aligned with similar things in Odoo core
https://github.com/odoo/odoo/blob/eef507abe3853f6844fdd7b7bfbc3ff9bedf76ae/addons/purchase/views/purchase_views.xml#L167
| <div class="o_field_widget o_stat_info"> | ||
| <span class="o_stat_value"> | ||
| <field | ||
| name="equipment_count" | ||
| widget="statinfo" | ||
| nolabel="1" | ||
| /> | ||
| </span> | ||
| <span class="o_stat_text">Equipments</span> | ||
| </div> |
There was a problem hiding this comment.
| <div class="o_field_widget o_stat_info"> | |
| <span class="o_stat_value"> | |
| <field | |
| name="equipment_count" | |
| widget="statinfo" | |
| nolabel="1" | |
| /> | |
| </span> | |
| <span class="o_stat_text">Equipments</span> | |
| </div> | |
| <field | |
| name="equipment_count" | |
| widget="statinfo" | |
| string="Service Orders" | |
| /> |
let's take the opportunity to modernize this code
| name="action_view_fsm_equipment" | ||
| type="object" | ||
| class="oe_stat_button" | ||
| icon="fa-laptop" |
There was a problem hiding this comment.
| icon="fa-laptop" | |
| icon="fa-laptop" | |
| invisible="equipment_count == 0" |
UX: to be aligned with similar things in Odoo core
https://github.com/odoo/odoo/blob/eef507abe3853f6844fdd7b7bfbc3ff9bedf76ae/addons/purchase/views/purchase_views.xml#L167
| type="object" | ||
| name="action_view_agreements" | ||
| class="oe_stat_button" | ||
| icon="fa-folder" |
There was a problem hiding this comment.
| icon="fa-folder" | |
| icon="fa-folder" | |
| invisible="agreement_count == 0" |
UX: to be aligned with similar things in Odoo core
https://github.com/odoo/odoo/blob/eef507abe3853f6844fdd7b7bfbc3ff9bedf76ae/addons/purchase/views/purchase_views.xml#L167
|
@TB-Ph35 can you check the suggestion from @ivantodorovich ? @rousseldenis can you check this PR too ? 🙏 💚 |
[UPD] README.rst
[UPD] README.rst
* [IMP] fieldservice_agreement [UPD] README.rst
… move views to agreement module 3. improve location heirarchy name construction
[UPD] README.rst
[UPD] README.rst
[IMP] fieldservice_vehicle_stock
[UPD] Update fieldservice_agreement.pot Added translation using Weblate (Portuguese (Brazil)) Added translation using Weblate (Spanish (Chile)) Translated using Weblate (Spanish (Chile)) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/es_CL/ Added translation using Weblate (German) Translated using Weblate (German) Currently translated at 6.7% (1 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/de/ Translated using Weblate (German) Currently translated at 26.7% (4 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/de/ Translated using Weblate (German) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/de/ [ADD] Spanish (es) translation Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/pt_BR/ Translated using Weblate (Spanish) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/es/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/pt_BR/ Added translation using Weblate (Spanish (Argentina)) Translated using Weblate (Spanish (Argentina)) Currently translated at 100.0% (15 of 15 strings) Translation: field-service-12.0/field-service-12.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_agreement/es_AR/
Currently translated at 100.0% (19 of 19 strings) Translation: field-service-14.0/field-service-14.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-14-0/field-service-14-0-fieldservice_agreement/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: field-service-14.0/field-service-14.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-14-0/field-service-14-0-fieldservice_agreement/
Currently translated at 100.0% (19 of 19 strings) Translation: field-service-14.0/field-service-14.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-14-0/field-service-14-0-fieldservice_agreement/es_AR/
The `agreement_serviceprofile` dependency has been moved to a glue module `fieldservice_agreement_serviceprofile`.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: field-service-17.0/field-service-17.0-fieldservice_agreement Translate-URL: https://translation.odoo-community.org/projects/field-service-17-0/field-service-17-0-fieldservice_agreement/
1b9f1d9 to
1159b5d
Compare
ivantodorovich
left a comment
There was a problem hiding this comment.
LG. Thanks!
Tests are failing due to #1378 (comment)
Not really related to this module.
Should be solved by restarting a new build, normally
|
@OCA/field-service-maintainers can we merge this one? 🙏🏻 |
|
On my way to merge this fine PR! |
|
@brian10048 your merge command was aborted due to failed check(s), which you can inspect on this commit of 18.0-ocabot-merge-pr-1368-by-brian10048-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 2ccf803. Thanks a lot for contributing to OCA. ❤️ |
No description provided.